package com.clouds.wms.util;

/**
 * 系统参数
 * @author liuchen
 */
public class SysParams {
	
	// 员工权限个数
	public static final int STAFF_AUTHORITY_COUNT = Integer.parseInt(Config.getString("staff_authority_count"));
	// 员工权限
	public static final int STAFF_AUTHORITY_SELECT = Integer.parseInt(Config.getString("staff_authority_select")); // 查询
	public static final int STAFF_AUTHORITY_ADD = Integer.parseInt(Config.getString("staff_authority_add")); // 增加
	public static final int STAFF_AUTHORITY_UPDATE = Integer.parseInt(Config.getString("staff_authority_update")); // 修改
	public static final int STAFF_AUTHORITY_DELETE = Integer.parseInt(Config.getString("staff_authority_delete")); // 删除
	public static final int STAFF_AUTHORITY_AUDIT = Integer.parseInt(Config.getString("staff_authority_audit")); // 审核
	public static final int STAFF_AUTHORITY_REVOCATION = Integer.parseInt(Config.getString("staff_authority_revocation")); // 撤销审核
	public static final int STAFF_AUTHORITY_INVALID = Integer.parseInt(Config.getString("staff_authority_invalid")); // 作废
	// 状态
	public static final int STATUS_NORMAL = Integer.parseInt(Config.getString("status_normal")); // 正常
	public static final int STATUS_DISABLE = Integer.parseInt(Config.getString("status_disable")); // 禁用
	// 单据性质//1.采购订单,2.采购收货单,3.采购退货单,4采购退货发货单,5.物料转移单,6.日记账,8.生产入库单,9.销售订单,10.销售发货单,11.销售退货单,12.销退收货单,13.盘点单',14工单
	public static final int DOCUMENT_CATEGORY_PDD = Integer.parseInt(Config.getString("document_category_pdd"));//盘点
	public static final int DOCUMENT_CATEGORY_CGDD = Integer.parseInt(Config.getString("document_category_cgdd"));//采购订单
	public static final int DOCUMENT_CATEGORY_CGSH = Integer.parseInt(Config.getString("document_category_cgsh"));//采购收货单
	public static final int DOCUMENT_CATEGORY_CGTH = Integer.parseInt(Config.getString("document_category_cgth"));//采购退货单
	public static final int DOCUMENT_CATEGORY_CGTHFH = Integer.parseInt(Config.getString("document_category_cgthfh"));//采购退货发货单
	public static final int DOCUMENT_CATEGORY_WLZY = Integer.parseInt(Config.getString("document_category_wlzy"));//物料转移单
	public static final int DOCUMENT_CATEGORY_RJZ = Integer.parseInt(Config.getString("document_category_rjz"));//日记账
	public static final int DOCUMENT_CATEGORY_SCRK= Integer.parseInt(Config.getString("document_category_scrk"));//生产入库单
	public static final int DOCUMENT_CATEGORY_XSDD = Integer.parseInt(Config.getString("document_category_xsdd"));//销售订单
	public static final int DOCUMENT_CATEGORY_XSFH = Integer.parseInt(Config.getString("document_category_xsfh"));//销售发货单
	public static final int DOCUMENT_CATEGORY_XSTH = Integer.parseInt(Config.getString("document_category_xsth"));//.销售退货单
	public static final int DOCUMENT_CATEGORY_XTSH = Integer.parseInt(Config.getString("document_category_xtsh"));//销退收货单
	public static final int DOCUMENT_WORK = Integer.parseInt(Config.getString("document_work"));//工单
	// 核准状况
	public static final int APPROVAL_STATUS_APPROVAL = Integer.parseInt(Config.getString("approval_status_approval"));//已核准
	public static final int APPROVAL_STATUS_NOT_APPROVAL = Integer.parseInt(Config.getString("approval_status_not_approval"));//尚待核准
	public static final int APPROVAL_STATUS_NOT_TRADE = Integer.parseInt(Config.getString("approval_status_not_trade"));//禁止交易
	// 审核码
	public static String AUDIT_YARDS_AUDIT = Config.getString("audit_yards_audit");// 已审核
	public static String AUDIT_YARDS_NOT_AUDIT = Config.getString("audit_yards_not_audit");// 未审核
	public static String AUDIT_YARDS_REVOKED_AUDIT = Config.getString("audit_yards_revoked_audit");// 撤销审核
	public static String AUDIT_YARDS_INVALID = Config.getString("audit_yards_invalid");// 作废
	public static String AUDIT_YARDS_COMPLETE = Config.getString("audit_yards_complete");// 指定结束
	public static String AUDIT_YARDS_REVOKED_COMPLETE = Config.getString("audit_yards_revoked_complete");// 撤销结束
	// 库存明细操作类型，1:入库,2:出库
	public static int STOCK_OPERATOR_CATEGORY_IN = Integer.parseInt(Config.getString("stock_operator_category_in"));
	public static int STOCK_OPERATOR_CATEGORY_OUT = Integer.parseInt(Config.getString("stock_operator_category_out"));
	// 自动审核
	public static String AUTO_AUDIT_YES = Config.getString("auto_audit_yes");// 已审核
	public static String AUTO_AUDIT_NO = Config.getString("auto_audit_no");// 未审核
	// 流程状态
	public static String FLOW_YES = Config.getString("flow_yes");
	public static String FLOW_NO = Config.getString("flow_no");
	public static final String UPLOAD_FILE_PATH = Config.getString("upload_file_path");
}